<script setup lang="ts">
import http from '@/utils/http'
const testApi = async () => {
  const data = await http<Array<Object>>({
    method: 'GET',
    url: '/qwe/qweewq',
  })
  console.log(data)
}
</script>

<template>
  <view class="index">index</view>
  <button @tap="testApi">测试</button>
</template>

<style lang="scss">
//
</style>
